//
//  PEWebServiceErrorCode.h
//  ChronicDiseaseManager
//
//  Created by CDCT on 2017/10/23.
//  Copyright © 2017年 cdct. All rights reserved.
//

#ifndef PEWebServiceErrorCode_h
#define PEWebServiceErrorCode_h


static NSString * const moduleName = @"MSH.1"; //后台业务模块
static NSString * const methedName = @"MSH.2"; //页面模块里的方法
static NSString * const moduleURL = @"/http/do?token="; //业务接口统一入口

typedef enum {
    //服务器返回的状态
    kHXSUnknownError = -1, //未知错误
    kHXSInvalidTokenError = -2, //token失效
    kHXSNoError = 200, //成功
    kHXSNormalError = 202, //常规错误
    kHXSPaypassError = 11010, //常规错误
    kHXSShareQRCodeError = 10002, //生成二维码失败
    
    kHXSNetWorkError = 203, //网络错误
    kHXSNetworkingCancelError = 204, //请求取消
    kHXSServerError = 500, //服务器错误
    
    kHXSNetworkingNoDataError = 10000,
    kHXSGoodsCheckError = 11002, // 组合商品需成组购买
    
    kHXSNetworkingNotFind = 404,//连接不存在
   
    kHXSNetworkingNeedLogin = 302,//需登录

}ZCErrorCode;

#endif /* PEWebServiceErrorCode_h */
